import request from '../util/request'

//添加关注
export let addFollow = follow_id => request.post('/api/follow',{follow_id});

//查询关注人员
export let getFollowList = () => request.get('/api/follow');

//取消关注
export let cancelFollow = id => request.delete(`/api/follow/${id}`);

//获取此人是否被关注
export let isFollow = id => request.get(`/api/follow/${id}`)